<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="vue.js"></script>

</head>
<body>
    <div id="app">{{message}}
        <span style="color:red">{{name}}</span>
    </div>


    <script>
        var app = new Vue({
            el: '#app',
            data: {
                message: 'hello world!',
                name: '张三'
            }
        });
    </script>
</body>
</html>